package com.jml.单例模式.枚举;

public class TestEnum {
    public static void main(String[] args) {
        System.out.println(UserEnum.HTTP_500.getCode());
        User u1 = User.getInstance();
        User u2 = User.getInstance();
        System.out.println(u1 == u2);
    }
}
